package com.coco.demo;

import com.coco.controller.CocoOneController;
import com.coco.service.UserService;
import lombok.Data;
import org.coco.util.ClassUtil;

import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Data
public class Test {

    private static Map<String,Object> map = new HashMap<>();

    private UserService userService;

    public List<String> test() {
        return new ArrayList<String>();
    }

    public static void main(String[] args) throws Exception{
        Class<?> aClass = Class.forName("com.coco.entity.People");
        Object newInstance = aClass.newInstance();
        System.out.println(newInstance);

    }
}
